﻿<%@ Page Title="试剂明细" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true"
	CodeBehind="HosStorage.aspx.cs" Inherits="HZ.Supervise.Web.Hospital.HosStorage" %>

<%@ Register Src="~/Common/AreaControls.ascx" TagName="AreaControl" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<link href="../lib/ZheZao/thickbox.css" rel="stylesheet" type="text/css" />
	<script src="../lib/ZheZao/thickbox.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div id="tabnav">
		<ul>
			<li class="active"><a href="javascript:void(0)">试剂明细</a></li>
		</ul>
	</div>
	<div id="tabcontent">
		<table class="querylist">
			<tr>
				<td>
					<table class="querylist">
						<tr>
							<td align="right">流水号：
							</td>
							<td align="left">
								<asp:TextBox ID="txtGoodsid" runat="server"></asp:TextBox>
							</td>
							<td align="right">产品注册证名称：
							</td>
							<td align="left">
								<asp:TextBox ID="txtGoodsName" runat="server"></asp:TextBox>
							</td>
							<td align="right">注册证号：
							</td>
							<td align="left">
								<asp:TextBox ID="txtRegCode" runat="server"></asp:TextBox>
							</td>
							<td align="right">生产企业：
							</td>
							<td align="left">
								<asp:TextBox ID="txtProduceCompany_SC" runat="server"></asp:TextBox>
							</td>
						</tr>
						<tr>
							<td align="right">规格型号：
							</td>
							<td align="left">
								<asp:TextBox ID="txtOutLook" runat="server"></asp:TextBox>
							</td>
							<td align="right">所属合同：
							</td>
							<td align="left">
								<asp:TextBox ID="txtOrderName" runat="server"></asp:TextBox>
							</td>
							<td align="right">生产国或地区：
							</td>
							<td align="left">
								<asp:TextBox ID="txtProductionArea" runat="server"></asp:TextBox>
							</td>
							<td align="right">产品代理或售后服务机构：
							</td>
							<td align="left">
								<asp:TextBox ID="txtSaleServices" runat="server"></asp:TextBox>
							</td>
						</tr>
						<tr>
							<td align="right">医院名称：
							</td>
							<td align="left">
								<asp:TextBox ID="txtHosName" runat="server"></asp:TextBox>
							</td>
							<td align="right">经销商：
							</td>
							<td align="left">
								<asp:TextBox ID="txtJXName" runat="server"></asp:TextBox>
							</td>
							<td align="right">类别名称：
							</td>
							<td align="left" colspan="2">
								<asp:DropDownList runat="server" ID="ddlSortName">
								</asp:DropDownList>
							</td>
						</tr>
						<tr>
							<td align="right">所在地区：
							</td>
							<td align="left" colspan="3">
								<uc3:AreaControl ID="ddlArea" runat="server" />
							</td>
						</tr>
					</table>
				</td>
				<td>
					<asp:Button ID="btnQuery" runat="server" Text="查询" CssClass="btn"
						OnClick="btnQuery_Click" />
				</td>
			</tr>
		</table>
	</div>
	<asp:GridView ID="gvwProduceCatalog" CssClass="mainlist" runat="server" AutoGenerateColumns="False" DataKeyNames="OrderDetailID,OrderID"
		EmptyDataText="暂无可选的采购目录！" Width="135%">
		<Columns>
			<asp:TemplateField HeaderText="流水号">
				<ItemTemplate>
					<a href='GoodsInfo2.aspx?did=<%# Eval("OrderDetailID") %>&keepThis=true&TB_iframe=true&height=460&width=1000'
						class="thickbox">
						<%# Eval("GoodsId")%></a>
				</ItemTemplate>
			</asp:TemplateField>
			<asp:BoundField DataField="Purchasecount" HeaderText="采购数量" />
			<asp:BoundField DataField="Price" HeaderText="采购价(万元)" DataFormatString="{0:F2}" />
			<asp:BoundField DataField="GoodsId" HeaderText="流水号" Visible="false" />
			<asp:BoundField DataField="ProductName" HeaderText="目录名称" />
			<asp:BoundField DataField="OrderName" HeaderText="所属合同" />
			<asp:BoundField DataField="CompanyName_JX" HeaderText="经销商全称" />
			<asp:BoundField DataField="HospitalName" HeaderText="医院名称" />
			<asp:BoundField DataField="SortName" HeaderText="类别名称" />
			<asp:BoundField DataField="RegCode" HeaderText="注册证号" />
			<asp:BoundField DataField="RegDate" HeaderText="注册证有效期" />
			<asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业全称" />
			<asp:BoundField DataField="ProductionArea" HeaderText="生产国或地区" />
			<asp:BoundField DataField="Outlookc" HeaderText="规格型号" Visible="false" />
			<asp:BoundField DataField="Remarks" HeaderText="备注" Visible="false" />
			<asp:TemplateField HeaderText="规格型号">
				<ItemTemplate>
					<asp:Label ID="lbl1" runat="server" ToolTip='<%# Eval("Outlookc")%>'><%# SubStr(Eval("Outlookc"))%></asp:Label>
				</ItemTemplate>
			</asp:TemplateField>
			<asp:BoundField DataField="SaleServices" HeaderText="产品代理或售后服务机构" />
			<asp:TemplateField HeaderText="备注">
				<ItemTemplate>
					<asp:Label ID="lbl6" runat="server" ToolTip='<%# Eval("Remarks")%>'><%# SubStr(Eval("Remarks"))%></asp:Label>
				</ItemTemplate>
				<HeaderStyle Width="100px" />
			</asp:TemplateField>
		</Columns>
	</asp:GridView>
	<div class="page">
		<webdiyer:AspNetPager ID="AspNetPager1" runat="server"
			OnPageChanged="AspNetPager1_OnPageChanged">
		</webdiyer:AspNetPager>
	</div>
	<div class="listip">
		<ul>
			<li>提示:<span style="color: Red;"> 点击流水号可查看试剂采购的详细信息。</span></li>
		</ul>
	</div>
	<div class="listctrl">
		<hz:HzButton ID="btnExport" runat="server" CssClass="btn" Text="导出Excel"
			ToolTip="将数据导出为Excel文件" OnClick="btnExport_Click" OperateType="导出" />
	</div>
</asp:Content>
